const path = require('path')
const dotenv = require('dotenv')

dotenv.config({ path: path.resolve(process.cwd(), '.env.'+process.env.VUE_APP_PLATFORM)}).parsed

module.exports = {
  chainWebpack: config => {
    config
      .plugin('define')
      .tap(args => {
        return args
      })
  }
}